package boot.spring.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description: 游客导入对象
 * @Author: junqiang.lu
 * @Date: 2024/6/20
 */
@Data
@ExcelIgnoreUnannotated
public class TouristImportVo extends BaseImportVo {

    private static final long serialVersionUID = -1342688939679766826L;

    /**
     * 票型名称
     */
    @ExcelProperty(value = "票型名称",index = 0)
    @NotBlank(message = "票型名称不能为空")
    private String typeName;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名", index = 1)
    @NotBlank(message = "姓名不能为空")
    private String name;

    /**
     * 证件类型
     */
    @ExcelProperty(value = "证件类型",index = 2)
    @NotBlank(message = "证件类型不能为空")
    private String cardType;

    /**
     * 证件号码
     */
    @ExcelProperty(value = "证件号码", index = 3)
    @NotBlank(message = "证件号码不能为空")
    private String card;

    /**
     * 抢票优先级（上午 或者 下午）
     */
    @ExcelProperty(index = 4)
    private String qpyxj;

    /**
     * 导游名称
     */
    @ExcelProperty(index = 5)
    private String guideName;
}
